package com.stark.wechat.message.template;

/**
 * 模板消息字段。
 * @author Ben
 * @since 1.0.0
 * @version 1.0.0, 2017/8/5
 */
public class TemplateField {
	private static final String DEFAULT_COLOR = "#173177";
	
	private String value;	// 字段值
	private String color;	// 字段颜色
	
	public TemplateField() {
		this.color = TemplateField.DEFAULT_COLOR;
	}

	public TemplateField(String value) {
		this.value = value;
		this.color = TemplateField.DEFAULT_COLOR;
	}
	
	public TemplateField(String value, String color) {
		this.value = value;
		this.color = color;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}
}
